package cool.doudou.doudada.cipher.algorithm.enums;

/**
 * Algorithm
 *
 * @author jiangcs
 * @since 2022/08/25
 */
public enum Algorithm {
    AES("AES"),
    RSA("RSA"),
    MD5("MD5"),
    SHA1("SHA1"),
    SHA256("SHA-256"),
    HmacMD5("HmacMD5"),
    HmacSHA1("HmacSHA1"),
    HmacSHA256("HmacSHA256"),
    SM2("Sm2"),
    SM3("SM3"),
    SM4("Sm4");

    private final String code;

    Algorithm(String code) {
        this.code = code;
    }

    public String code() {
        return this.code;
    }
}
